#ifndef Fl_Wait_h
#define Fl_Wait_h

#include "Fl/Fl_Progress.h"
#include <time.h>
#include "Fl/Fl.h"
#include <FL/fl_draw.H>

namespace FPTK{

class Fl_Wait:public Fl_Progress
{
public:
   Fl_Wait(int x, int y, int w, int h, const char *l = 0);
   ~Fl_Wait();
   void SetTempo(unsigned int _var_tempo);//time in ms
   void Tempo();
   void redraw();
   int NbStep(int _step);
private:
   void draw();
   unsigned int var_tempo;
   int step;
   int pos;
};

} //end namespace FPTK

#endif

